home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nos_kit3.zip / TNC_TNC2.ZIP / TNC2KISS.DOC < prev    next >
Text File  |  1987-05-26  |  4KB  |  90 lines

  1. Date: Wed 1 Oct 86 18:56:07-EDT
  2. From: Mike Chepponis <cadre!C.CS.CMU.EDU!Michael.Chepponis@pitt.UUCP>
  3.  
  4.  
  5. OK, Alpha testers, go to it!  A few notes: I believe that we should keep the
  6. download ROM in the TNC-2, so that as we make improvements to the KISS TNC
  7. code (and as we figure our what we REALLY need) we will not have to re-blow a
  8. ROM; Phil's stuff can automatically download this file upon startup.
  9.  
  10. Implementation:  The 3 frames to the TNC to set TXdelay, Persistence and
  11. Slot Time are implemented, as well as a type "4", for setting the TX Tail
  12. timer (the last flag has to leave the SIO, so this number should be at least
  13. 2).  The defaults are TXdelay 300ms, Persistence 128, Slot Time 50ms and
  14. TX Tail timer 20ms.
  15.  
  16. All frames coming to the TNC need not be preceded by a FEND char, but all
  17. frames coming from the TNC will have an FEND at the beginning and at the end
  18. of the frame.  
  19.  
  20. The STA LED blinks at a 1 Hz rate.  If this LED stops blinking, the TNC has
  21. crashed.  The CON LED lights up when the TNC is sending frames to the host.
  22.  
  23. The TNC can be run "unsquelched" if you don't want to pay the squelch opening
  24. time; just turn the receiver squelch off.
  25.  
  26.  
  27. The buffers are fixed length, 124 chars per buffer.  There are about 100
  28. buffers free in a 16k RAM system, and about 230 buffers in a 32K RAM system.
  29. If you run out of buffer space (by sending too much stuff to the TNC), it will
  30. halt.  I wasn't sure what the right thing to do was, so the TNC just halts in
  31. this case.  So don't send too many outstanding buffers to the TNC.
  32.  
  33. No flow control is used.
  34.  
  35. The size of the transmitted and received frames is limited only by buffering
  36. space.  In particular, you can send very large frames to cut down on header
  37. overhead & beat the VC gang on that count!  The Zilog Ap note suggests 
  38. limiting frames to 4096 or fewer characters, however, because they claim that
  39. the CRC doesn't work as well for very large packet sizes.  So be reasonable!
  40. Any particular packet can be as large as available buffer space.  In my case
  41. (with a 32k RAM) I can send about a 28k packet.  You should always install
  42. JMP 4 on the TNC to disable the (hardware) TX timeout timer.
  43.  
  44. I guess that's it.  Let me know the bugs you find.  Good Luck, -Mike
  45.  
  46. -------
  47. Changes since V1:
  48.  
  49. Light no longer blinks to let you know TNC is alive, instead, STA and CON
  50. used to show traffic to and from PC, while CAR and PTT are used for what
  51. you would expect, radio side send and receive indicators.
  52.  
  53. Bug fixes, does not seem to crash anymore.
  54.  
  55. -------
  56. Changes since V2:
  57.  
  58. Hey guys, I have v0.3 of kiss ready - at least, it seems OK here.  I am going
  59. to send you guys 3 more messages: 1) kiss source  2) kiss download hex and
  60. 3) kiss .hex ORGed at 0
  61.  
  62. I have no way (at the moment - we're working on it) to test (3).  It is meant
  63. to be burned into a ROM and run from that ROM.  As to hooking up to howie's
  64. code, I left some EQUates in the source and you can see what I had in mind.  It
  65. will need some hacking to work with howie's code.  When I get my prom burner,
  66. I will mess with it if you guys don't want to.  I still want to include the
  67. hex loader in this code, which would get activated on power-up with a ":"
  68. command (and howie code with an H or h and kiss itself with ^E - but this is
  69. all just conjecture at the moment.)
  70.  
  71. The biggest difference in kiss, besides now supporting full duplex (code 05 01
  72. makes it full duplex, code 05 00 puts it back to the (default) half duplex), is
  73. that there is a positive indication that the code has been dowloaded / is
  74. running correctly.  Immediately after successful download (or power up if in
  75. ROM) the STA and CON LEDs will flash on & off 6 times, at about 1 Hz.  If you
  76. have 8k RAM, only the CON LED will flash.  If you have 16k RAM, only the STA
  77. LED will flash.  If you have 32k, both LEDs will flash.
  78.  
  79. As I said, I haven't noticed any problems with this code, but you should (and
  80. I'm sure, will) point out deficiencies.  Oh, I changed a bunch of default
  81. values, too.  The txdelay is a bit longer, the persistence is 64 and the tail
  82. timer is 3 instead of 2.  These are probably not big things, and anyway, you
  83. can customize your setup in /autoexec.net anyway.
  84.  
  85. I am especially interested in how (if?) the orged at 0 "rom" version works.
  86.  
  87. CUL & gl -Mike
  88. -------
  89.  
  90.